//
//  DCHViewControllerXINTIE.m
//  DCH-BaiSiBuDeJie
//
//  Created by apple on 16/10/18.
//  Copyright © 2016年 xiaomage. All rights reserved.
//

#import "DCHViewControllerXINTIE.h"
#import "UIBarButtonItem+Item.h"

@interface DCHViewControllerXINTIE ()

@end

@implementation DCHViewControllerXINTIE

- (void)viewDidLoad {
    [super viewDidLoad];
    

    [self stackTop];
    
    
}

- (void)stackTop
{

    //设置栈顶控制器的标题
    self.navigationItem.titleView =[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"MainTitle"]];

    
    //左边
    self.navigationItem.leftBarButtonItem =[UIBarButtonItem itemWithImage:[UIImage imageNamed:@"MainTagSubIcon"] highImage:[UIImage imageNamed:@"MainTagSubIconClick"] target:self action:@selector(subClick)];
}
- (void)subClick
{
    NSLog(@"点击订阅");

}

@end
